# Contributor: sick <sick@rape.lol>
# Maintainer: sick <sick@rape.lol>
pkgname=libev
pkgver=4.24
pkgrel=0
pkgdesc="A high performance full-featured event loop written in C" 
url="http://software.schmorp.de/pkg/libev.html"
arch="all"
license="BSD/GPL2+"
depends=""
makedepends="$depends"
subpackages="$pkgname-dev $pkgname-doc"
source="http://dist.schmorp.de/libev/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure --prefix=/usr
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR=$pkgdir install || return 1
}

sha512sums="e4cb3b5dd4b9828d5b8da840c73ae4604258a8c4330aafa5472298b83bf944628f36918f0ddd47d9069d255639f0b24a2cf8d349f0644ffd50de823bcb54a31a  libev-4.24.tar.gz"
